<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="添加识别规则">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="anonymization_0010.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="anonymization_0013">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>添加识别规则</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="anonymization_0013"></a><a name="anonymization_0013"></a>

<h1 class="topictitle1">添加识别规则</h1>
<div><p><span>OceanProtect</span>预置了常见的识别规则。当预置的识别规则不满足要求时，您可以自定义识别规则。</p>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>在导航栏选择<span class="menucascade" id="anonymization_0013__anonymization_0012_menucascade22010284584">“<span class="uicontrol" id="anonymization_0013__anonymization_0012_uicontrol12022819584">数据安全</span> &gt; <span class="uicontrol" id="anonymization_0013__anonymization_0012_uicontrol18920193013584">数据脱敏</span> &gt; <span class="uicontrol" id="anonymization_0013__anonymization_0012_uicontrol11249124819582">脱敏策略</span>”</span>。</span><p><div class="note" id="anonymization_0013__anonymization_0012_note519912488530"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p id="anonymization_0013__anonymization_0012_p21991848185316">对于1.5.0版本，在导航栏选择“<span id="anonymization_0013__anonymization_0012_text15942173305518">数据利用</span> &gt; <span id="anonymization_0013__anonymization_0012_text994233310554">数据利用策略</span>”，在导航栏单击“<span id="anonymization_0013__anonymization_0012_text1994293345512">脱敏策略</span>”。</p>
</div></div>
</p></li><li><span>在右侧“<span>脱敏策略</span>”页面，单击“<span>识别规则</span>”页签。</span></li><li><span>单击“<span>添加</span>”，根据界面显示填写识别规则。</span><p><p>参数说明如<a href="#anonymization_0013__table988710276918">表1</a>所示。</p>

<div class="tablenoborder"><a name="anonymization_0013__table988710276918"></a><a name="table988710276918"></a><table cellpadding="4" cellspacing="0" summary="" id="anonymization_0013__table988710276918" frame="border" border="1" rules="all"><caption><b>表1 </b>识别规则参数说明</caption><colgroup><col style="width:13.62%"><col style="width:86.38%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="13.62%" id="mcps1.3.2.2.3.2.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="86.38%" id="mcps1.3.2.2.3.2.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="13.62%" headers="mcps1.3.2.2.3.2.2.2.3.1.1 "><p><span>名称</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.38%" headers="mcps1.3.2.2.3.2.2.2.3.1.2 "><p>识别规则名称。名称长度不超过64位。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="13.62%" headers="mcps1.3.2.2.3.2.2.2.3.1.1 "><p><span>表达式</span></p>
</td>
<td class="cellrowborder" valign="top" width="86.38%" headers="mcps1.3.2.2.3.2.2.2.3.1.2 "><p>标准的正则表达式。长度不超过2000个字符。</p>
<div class="caution"><span class="cautiontitle"> 注意： </span><div class="cautionbody"><p>输入前，请使用SDL Regex Fuzzer检测，避免DoS攻击。</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>在“<span>选择脱敏规则</span>”区域，选择待关联的脱敏规则。</span><p><p>如果系统中已有的脱敏规则不满足要求，您可以单击“<span>添加</span>”创建新的脱敏规则。脱敏规则的参数说明，请参见<a href="anonymization_0012.html">添加脱敏规则</a>中的描述。</p>
</p></li><li><span>单击“<span>确定</span>”，完成操作。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="anonymization_0010.html">配置数据脱敏</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>